package com.swak.exception;

import com.swak.validator.errors.BindErrors;

/**
 * 验证错误： 仅仅在前段使用的异常
 * 
 * @author DELL
 */
public class ValidatorException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	private BindErrors cause;

	public ValidatorException(BindErrors cause) {
		this.cause = cause;
	}

	public BindErrors getErrors() {
		return cause;
	}
}
